import { apikeyAPI } from '@/service/api';

export async function addApikey(params: Parameters<typeof apikeyAPI.addApiKey>[0]) {
  return apikeyAPI.addApiKey(params);
}

export async function deleteApikey(apikeyId: number) {
  return apikeyAPI.deleteApiKeyById(apikeyId);
}

export async function queryApikeyPage(params: Parameters<typeof apikeyAPI.apikeyPage>[0]) {
  return apikeyAPI.apikeyPage(params);
}
